<?php # Answer_Option.php

require_once 'DBObject.php';

class Answer_Option extends DBObject {
	public $tablename = "answer_options";
	
	public $id;
	public $type;
	public $description;
	
	
	public function get() {
		return array(
					'id' => $this->id,
					'type' => $this->type,
					'description' => $this->description
				);
	}
	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}